<?php

    include '../Clases/DaoHistorial.php';

    $tc = $_REQUEST['tc'];
    
    if($tc == 1){
        
        $SsOid = $_REQUEST['OidSolicitud'];
        
        $Historial = new DaoHistorial("",$SsOid, "", "", "", "", "", "", "");
        $Historial->MostrarHisrorial();
        
    }else if($tc == 2){
        
        $NuevaFecha = $_REQUEST['NuevaFecha'];
        $OidHistorial = $_REQUEST['OidHistorial'];
        
        $Historial = new DaoHistorial($OidHistorial, "", $NuevaFecha, "", "", "", "", "", "");
        $Historial->EditarHistorial();
        
    }

?>

